package cn.yuanqiao.common.enums;

/**
 * 业务行为
 */
public enum BusinessBehavior {

    DEFAULT("其他"),
    CAONI("草拟"),
    SHENHE("审核"),
    QIANFA("签发"),
    HUIQIAN("会签"),
    FUHE("复核"),
    SHANYIN("缮印"),
    YONGYIN("用印"),
    DENGJI("登记"),
    FENFA("分发"),
    QIANSHOU("签收"),
    NIBAN("拟办"),
    PIBAN("批办"),
    CHENGBAN("承办"),
    CUIBAN("催办"),
    JZJD("价值鉴定"),
    ZHENGLI("整理"),
    LIJUAN("立卷"),
    GUIDANG("归档"),
    JIANCHA("检查"),
    YIJIAO("移交"),
    JIESHOU("接收"),
    AJTZ("案卷调整"),
    GDWJTZ("归档文件调整"),
    ZHENSHIXING("真实性"),
    WANZHENGXING("完整性"),
    YXXJD("有效性鉴定"),
    GSJC("格式检测"),
    FENGZHUANG("封装"),
    HUAKONG("划控"),
    HKSP("划控审批"),
    SJJM("升降解密"),
    SJJMSP("升降解密审批"),
    CXBS("重新标识"),
    KAOBEI("拷贝"),
    SUOWEI("缩微"),
    SAOMIAO("扫描"),
    ZTQY("载体迁移"),
    PTQY("平台迁移"),
    GSZH("格式转换"),
    GONGBU("公布"),
    GBSP("公布审批"),
    XIAOHUI("销毁"),
    XHSP("销毁审批"),
    JIANXIAO("监销"),
    BEIFEN("备份"),
    CUNCHU("存储"),
    LIYONG("利用"),
    LYSP("利用审批"),
    FWGD("发文归档"),
    SWGD("收文归档"),
    EXCEL导入("EXCEL导入"),
    TEXT导入("TEXT导入"),
    XML导入("XML导入"),
    MDB导入("mdb导入"),
    BGQXJDFQ("保管期限鉴定-发起鉴定"),
    BGQXJDSX("保管期限鉴定-鉴定生效");

    BusinessBehavior(String m) {
        this.msg = m;
    }

    public static BusinessBehavior valueOf(String msg, int overload) {
        for(BusinessBehavior week : BusinessBehavior.values()) {
            if (week.getMsg().equalsIgnoreCase(msg)) {
                return week;
            }
        }
        return BusinessBehavior.DEFAULT;
    }
    private final String msg;

    public String getMsg() {
        return msg;
    }


}
